import async from 'async';
type _QQ = () => Promise<void>;
const _queue = async.queue<_QQ>(async (task) => {
    await task();
}, 3);




const queue = {
    push(worker: _QQ) {
        _queue.push(worker);
    }
}

export default queue;






